#ifndef DLG_SELECTDID_H
#define DLG_SELECTDID_H

#include <QDialog>
#include "mainwindow.h"//引用model变量
#include <QRadioButton>
#include <QInputDialog>
#include "radio_my.h"

namespace Ui {
class Dlg_SelectDid;
}

class Dlg_SelectDid : public QDialog
{
    Q_OBJECT

public:
    explicit Dlg_SelectDid(QWidget *parent = 0);
    ~Dlg_SelectDid();

private slots:
    void on_buttonBox_accepted();
    void on_checkBoxEditMode_clicked(bool checked);
    void on_tableView_doubleClicked(const QModelIndex &index);
    void on_pushButtonAddRow_clicked();
    void on_pushButtonDelRow_clicked();
    void on_pushButtonSave_clicked();
    void on_pushButtonShowAll_clicked();
    void on_lineEditSearch_cursorPositionChanged(int arg1, int arg2);

    void on_radio_find_clicked();//radio数组中有一个被点击



signals:
    void send_select(QString);

private:
    Ui::Dlg_SelectDid *ui;
    void Filter_show(QString SearchStr);
    Radio_my *radio_find[3][4];
    void ini_save_or_restore(bool isSave);

};


#endif // DLG_SELECTDID_H
